package com.cmwa.solution.sys.msg.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cmwa.solution.base.dao.BaseDao;
import com.cmwa.solution.base.service.impl.BaseServiceImpl;
import com.cmwa.solution.sys.msg.dao.IMsgNoticeDao;
import com.cmwa.solution.sys.msg.service.IMsgNoticeService;
import com.cmwa.solution.sys.msg.vo.MsgNoticeVo;

@Service
@SuppressWarnings({"rawtypes"})
public class MsgNoticeServiceImpl extends BaseServiceImpl<MsgNoticeVo> implements IMsgNoticeService{

	@Resource
	private IMsgNoticeDao MsgNoticeDao;
	
	@Override
	public BaseDao<MsgNoticeVo> getDao() {
		return MsgNoticeDao;
	}

	@Override
	public int updateStatus(Map id) {
		return MsgNoticeDao.updateStatus(id);
	}
	
}
